home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / ai.prl / opnprlg1.hqx / Open Prolog / Open Prolog.rsrc / CODE_9_subroutines.txt < prev    next >
Text File  |  1993-04-15  |  48KB  |  868 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. export_286:
  4. entry:
  5. 00000000  4E54 0000                link       A4, 0
  6. 00000004  48E7 0702                movem.l    -[A7], D5,D6,D7,A6
  7. 00000008  2C6C 0008                movea.l    A6, [A4 + 0x8]
  8. label0000000C:
  9. 0000000C  3E1E                     move.w     D7, [A6]+
  10. 0000000E  6700 006E                beq        +0x70 /* 0000007E */
  11. 00000012  6B00 006A                bmi        +0x6C /* 0000007E */
  12. 00000016  42A7                     clr.l      -[A7]
  13. 00000018  3F07                     move.w     -[A7], D7
  14. 0000001A  A9BF                     trap       GetRMenu
  15. 0000001C  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  16. 00000020  6708                     beq        +0xA /* 0000002A */
  17. 00000022  487A 006A                pea.l      [PC + 0x6A /* 0000008E */]
  18. 00000026  4EAD 0CD2                jsr        [A5 + 0xCD2]
  19. label0000002A:
  20. 0000002A  548F                     addq.l     A7, 2
  21. 0000002C  2A1F                     move.l     D5, [A7]+
  22. 0000002E  3C1E                     move.w     D6, [A6]+
  23. 00000030  6718                     beq        +0x1A /* 0000004A */
  24. 00000032  2F05                     move.l     -[A7], D5
  25. 00000034  3F06                     move.w     -[A7], D6
  26. 00000036  A93A                     trap       DisableItem
  27. 00000038  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  28. 0000003C  6708                     beq        +0xA /* 00000046 */
  29. 0000003E  487A 004E                pea.l      [PC + 0x4E /* 0000008E */]
  30. 00000042  4EAD 0CD2                jsr        [A5 + 0xCD2]
  31. label00000046:
  32. 00000046  548F                     addq.l     A7, 2
  33. 00000048  60C2                     bra        -0x3C /* 0000000C */
  34. label0000004A:
  35. 0000004A  4267                     clr.w      -[A7]
  36. 0000004C  2F05                     move.l     -[A7], D5
  37. 0000004E  A950                     trap       CountMItems
  38. 00000050  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  39. 00000054  6708                     beq        +0xA /* 0000005E */
  40. 00000056  487A 0036                pea.l      [PC + 0x36 /* 0000008E */]
  41. 0000005A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  42. label0000005E:
  43. 0000005E  548F                     addq.l     A7, 2
  44. 00000060  3C1F                     move.w     D6, [A7]+
  45. label00000062:
  46. 00000062  2F05                     move.l     -[A7], D5
  47. 00000064  3F06                     move.w     -[A7], D6
  48. 00000066  A93A                     trap       DisableItem
  49. 00000068  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  50. 0000006C  6708                     beq        +0xA /* 00000076 */
  51. 0000006E  487A 001E                pea.l      [PC + 0x1E /* 0000008E */]
  52. 00000072  4EAD 0CD2                jsr        [A5 + 0xCD2]
  53. label00000076:
  54. 00000076  548F                     addq.l     A7, 2
  55. 00000078  5346                     subq.w     D6, 1
  56. 0000007A  66E6                     bne        -0x18 /* 00000062 */
  57. 0000007C  608E                     bra        -0x70 /* 0000000C */
  58. label0000007E:
  59. 0000007E  4CDF 40E0                movem.l    A6,D7,D6,D5, [A7]+
  60. 00000082  4E5C                     unlink     A4
  61. 00000084  2F57 0004                move.l     [A7 + 0x4], [A7]
  62. 00000088  4FEF 0004                lea.l      A7, [A7 + 0x4]
  63. 0000008C  4E75                     rts
  64. 0000008E  8C44                     or.w       D6, D4
  65. 00000090  4953                     chk.w      D4, [A3]
  66. 00000092  4142                     chk.w      D0, D2
  67. 00000094  4C45 4D45                movem.l    A6,A3,A2,A0,D6,D2,D0, D5
  68. 00000098  4E55 5320                link       A5, -0xFFFFACE0
  69. 0000009C  0000 4E54                ori.b      D0, 0x54 /* 'T' */
  70. export_287: // at 0000009E (misaligned)
  71. 000000A0  0000 48E7                ori.b      D0, 0xE7
  72. 000000A4  0702                     btst       D2, D3
  73. 000000A6  2C6C 0008                movea.l    A6, [A4 + 0x8]
  74. label000000AA:
  75. 000000AA  3E1E                     move.w     D7, [A6]+
  76. 000000AC  6700 0086                beq        +0x88 /* 00000134 */
  77. 000000B0  6B00 0082                bmi        +0x84 /* 00000134 */
  78. 000000B4  42A7                     clr.l      -[A7]
  79. 000000B6  3F07                     move.w     -[A7], D7
  80. 000000B8  A9BF                     trap       GetRMenu
  81. 000000BA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  82. 000000BE  6708                     beq        +0xA /* 000000C8 */
  83. 000000C0  487A 0082                pea.l      [PC + 0x82 /* 00000144 */]
  84. 000000C4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  85. label000000C8:
  86. 000000C8  548F                     addq.l     A7, 2
  87. 000000CA  2A1F                     move.l     D5, [A7]+
  88. 000000CC  2F05                     move.l     -[A7], D5
  89. 000000CE  4267                     clr.w      -[A7]
  90. 000000D0  A939                     trap       EnableItem
  91. 000000D2  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  92. 000000D6  6708                     beq        +0xA /* 000000E0 */
  93. 000000D8  487A 006A                pea.l      [PC + 0x6A /* 00000144 */]
  94. 000000DC  4EAD 0CD2                jsr        [A5 + 0xCD2]
  95. label000000E0:
  96. 000000E0  548F                     addq.l     A7, 2
  97. 000000E2  3C1E                     move.w     D6, [A6]+
  98. 000000E4  6718                     beq        +0x1A /* 000000FE */
  99. 000000E6  2F05                     move.l     -[A7], D5
  100. 000000E8  3F06                     move.w     -[A7], D6
  101. 000000EA  A939                     trap       EnableItem
  102. 000000EC  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  103. 000000F0  6708                     beq        +0xA /* 000000FA */
  104. 000000F2  487A 0050                pea.l      [PC + 0x50 /* 00000144 */]
  105. 000000F6  4EAD 0CD2                jsr        [A5 + 0xCD2]
  106. label000000FA:
  107. 000000FA  548F                     addq.l     A7, 2
  108. 000000FC  60AC                     bra        -0x52 /* 000000AA */
  109. label000000FE:
  110. 000000FE  4267                     clr.w      -[A7]
  111. 00000100  2F05                     move.l     -[A7], D5
  112. 00000102  A950                     trap       CountMItems
  113. 00000104  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  114. 00000108  6708                     beq        +0xA /* 00000112 */
  115. 0000010A  487A 0038                pea.l      [PC + 0x38 /* 00000144 */]
  116. 0000010E  4EAD 0CD2                jsr        [A5 + 0xCD2]
  117. label00000112:
  118. 00000112  548F                     addq.l     A7, 2
  119. 00000114  3C1F                     move.w     D6, [A7]+
  120. label00000116:
  121. 00000116  2F05                     move.l     -[A7], D5
  122. 00000118  3F06                     move.w     -[A7], D6
  123. 0000011A  A939                     trap       EnableItem
  124. 0000011C  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  125. 00000120  6708                     beq        +0xA /* 0000012A */
  126. 00000122  487A 0020                pea.l      [PC + 0x20 /* 00000144 */]
  127. 00000126  4EAD 0CD2                jsr        [A5 + 0xCD2]
  128. label0000012A:
  129. 0000012A  548F                     addq.l     A7, 2
  130. 0000012C  5346                     subq.w     D6, 1
  131. 0000012E  66E6                     bne        -0x18 /* 00000116 */
  132. 00000130  6000 FF78                bra        -0x86 /* 000000AA */
  133. label00000134:
  134. 00000134  4CDF 40E0                movem.l    A6,D7,D6,D5, [A7]+
  135. 00000138  4E5C                     unlink     A4
  136. 0000013A  2F57 0004                move.l     [A7 + 0x4], [A7]
  137. 0000013E  4FEF 0004                lea.l      A7, [A7 + 0x4]
  138. 00000142  4E75                     rts
  139. 00000144  8B45 4E41                pack       D5, D5, 0x4E41
  140. 00000148  424C                     clr.w      A4
  141. 0000014A  454D                     chk.w      D2, A5
  142. 0000014C  454E                     chk.w      D2, A6
  143. 0000014E  5553                     subq.w     [A3], 2
  144. 00000150  0000 48E7                ori.b      D0, 0xE7
  145. export_288: // at 00000152 (misaligned)
  146. 00000154  00C0                     ori.?      D0, 0xFFFFFFFFFFFFFFFF
  147. 00000156  206F 000C                movea.l    A0, [A7 + 0xC]
  148. 0000015A  2068 023C                movea.l    A0, [A0 + 0x23C]
  149. 0000015E  226F 0010                movea.l    A1, [A7 + 0x10]
  150. 00000162  2050                     movea.l    A0, [A0]
  151. 00000164  22E8 0008                move.l     [A1]+, [A0 + 0x8]
  152. 00000168  22A8 000C                move.l     [A1], [A0 + 0xC]
  153. 0000016C  206F 000C                movea.l    A0, [A7 + 0xC]
  154. 00000170  2068 023C                movea.l    A0, [A0 + 0x23C]
  155. 00000174  4CDF 0300                movem.l    A1,A0, [A7]+
  156. 00000178  2E9F                     move.l     [A7], [A7]+
  157. 0000017A  4E75                     rts
  158. 0000017C  8C50                     or.w       D6, [A0]
  159. 0000017E  5553                     subq.w     [A3], 2
  160. 00000180  4856                     pea.l      [A6]
  161. 00000182  4945                     chk.w      D4, D5
  162. 00000184  5752                     subq.w     [A2], 3
  163. 00000186  4543                     chk.w      D2, D3
  164. 00000188  5420                     addq.b     -[A0], 2
  165. 0000018A  0000 4E54                ori.b      D0, 0x54 /* 'T' */
  166. export_289: // at 0000018C (misaligned)
  167. 0000018E  0000 48E7                ori.b      D0, 0xE7
  168. 00000192  F800                     .extension 0x800 // unimplemented
  169. 00000194  202C 0008                move.l     D0, [A4 + 0x8]
  170. 00000198  222C 000C                move.l     D1, [A4 + 0xC]
  171. 0000019C  2401                     move.l     D2, D1
  172. 0000019E  C4C0                     mulu.w     D2, D0
  173. 000001A0  2942 0014                move.l     [A4 + 0x14], D2
  174. 000001A4  2400                     move.l     D2, D0
  175. 000001A6  2601                     move.l     D3, D1
  176. 000001A8  4842                     swap.w     D2
  177. 000001AA  4843                     swap.w     D3
  178. 000001AC  C6C2                     mulu.w     D3, D2
  179. 000001AE  2943 0010                move.l     [A4 + 0x10], D3
  180. 000001B2  2601                     move.l     D3, D1
  181. 000001B4  C6C2                     mulu.w     D3, D2
  182. 000001B6  2801                     move.l     D4, D1
  183. 000001B8  4844                     swap.w     D4
  184. 000001BA  C8C0                     mulu.w     D4, D0
  185. 000001BC  7000                     moveq.l    D0, 0x00
  186. 000001BE  7200                     moveq.l    D1, 0x00
  187. 000001C0  D883                     add.l      D4, D3
  188. 000001C2  D141                     addx.w     D0, D1
  189. 000001C4  D9AC 0012                add.l      [A4 + 0x12], D4
  190. 000001C8  D141                     addx.w     D0, D1
  191. 000001CA  D16C 0010                add.w      [A4 + 0x10], D0
  192. 000001CE  4CDF 001F                movem.l    D4,D3,D2,D1,D0, [A7]+
  193. 000001D2  4E5C                     unlink     A4
  194. 000001D4  2F57 0008                move.l     [A7 + 0x8], [A7]
  195. 000001D8  4FEF 0008                lea.l      A7, [A7 + 0x8]
  196. 000001DC  4E75                     rts
  197. 000001DE  884C                     or.w       D4, A4
  198. 000001E0  4F4E                     chk.w      D7, A6
  199. 000001E2  474D                     chk.w      D3, A5
  200. 000001E4  554C                     subq.w     A4, 2
  201. 000001E6  5420                     addq.b     -[A0], 2
  202. 000001E8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  203. // begin alternate branch 000001EA-000001F2
  204. export_290:
  205. fn000001EA:
  206. 000001EA  4E56 0000                link       A6, 0
  207. 000001EE  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  208. // end alternate branch 000001EA-000001F2
  209. export_290: // at 000001EA (misaligned)
  210. fn000001EA: // (misaligned)
  211. 000001EC  0000 48E7                ori.b      D0, 0xE7
  212. 000001F0  E0C0                     asr   .w   D0
  213. 000001F2  226E 0008                movea.l    A1, [A6 + 0x8]
  214. 000001F6  7000                     moveq.l    D0, 0x00
  215. 000001F8  1029 0248                move.b     D0, [A1 + 0x248]
  216. 000001FC  6718                     beq        +0x1A /* 00000216 */
  217. 000001FE  137C 0001 03A4           move.b     [A1 + 0x3A4], 0x1
  218. 00000204  4229 0248                clr.b      [A1 + 0x248]
  219. 00000208  4869 0249                pea.l      [A1 + 0x249]
  220. 0000020C  2F00                     move.l     -[A7], D0
  221. 0000020E  2F29 023C                move.l     -[A7], [A1 + 0x23C]
  222. 00000212  4EAD 0B52                jsr        [A5 + 0xB52]
  223. label00000216:
  224. 00000216  4CDF 0307                movem.l    A1,A0,D2,D1,D0, [A7]+
  225. 0000021A  4E5E                     unlink     A6
  226. 0000021C  2F57 0004                move.l     [A7 + 0x4], [A7]
  227. 00000220  4FEF 0004                lea.l      A7, [A7 + 0x4]
  228. 00000224  4E75                     rts
  229. 00000226  9A53                     sub.w      D5, [A3]
  230. 00000228  5441                     addq.w     D1, 2
  231. 0000022A  4E44                     trap       4
  232. 0000022C  4152                     chk.w      D0, [A2]
  233. 0000022E  4457                     neg.w      [A7]
  234. 00000230  494E                     chk.w      D4, A6
  235. 00000232  444F                     neg.w      A7
  236. 00000234  5744                     subq.w     D4, 3
  237. 00000236  4953                     chk.w      D4, [A3]
  238. 00000238  504C                     addq.w     A4, 8
  239. 0000023A  4159                     chk.w      D0, [A1]+
  240. 0000023C  464C                     not.w      A4
  241. 0000023E  5553                     subq.w     [A3], 2
  242. 00000240  4820                     nbcd.b     -[A0]
  243. 00000242  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  244. export_291: // at 00000244 (misaligned)
  245. 00000246  0000 48E7                ori.b      D0, 0xE7
  246. 0000024A  E0C0                     asr   .w   D0
  247. 0000024C  226E 0008                movea.l    A1, [A6 + 0x8]
  248. 00000250  0C29 00FF 0248           cmpi.b     [A1 + 0x248], 0xFF
  249. 00000256  6628                     bne        +0x2A /* 00000280 */
  250. 00000258  2F09                     move.l     -[A7], A1
  251. 0000025A  4EBA FF8E                jsr        [PC - 0x72 /* 000001EA */]
  252. 0000025E  1F3C 0001                move.b     -[A7], 0x1
  253. 00000262  4227                     clr.b      -[A7]
  254. 00000264  226E 0008                movea.l    A1, [A6 + 0x8]
  255. 00000268  2F29 023C                move.l     -[A7], [A1 + 0x23C]
  256. 0000026C  4EAD 0C22                jsr        [A5 + 0xC22]
  257. 00000270  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  258. 00000274  6708                     beq        +0xA /* 0000027E */
  259. 00000276  487A 0062                pea.l      [PC + 0x62 /* 000002DA */]
  260. 0000027A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  261. label0000027E:
  262. 0000027E  548F                     addq.l     A7, 2
  263. label00000280:
  264. 00000280  226E 0008                movea.l    A1, [A6 + 0x8]
  265. 00000284  08E9 0000 0390           bset.b     [A1 + 0x390], 0x0
  266. 0000028A  7200                     moveq.l    D1, 0x00
  267. 0000028C  41E9 0248                lea.l      A0, [A1 + 0x248]
  268. 00000290  1210                     move.b     D1, [A0]
  269. 00000292  11AE 000F 1801           move.b     [A0 + D1 + 0x1], [A6 + 0xF]
  270. 00000298  5210                     addq.b     [A0], 1
  271. 0000029A  0C2E 000D 000F           cmpi.b     [A6 + 0xF], 0xD /* '\r' */
  272. 000002A0  6628                     bne        +0x2A /* 000002CA */
  273. 000002A2  2F09                     move.l     -[A7], A1
  274. 000002A4  4EBA FF44                jsr        [PC - 0xBC /* 000001EA */]
  275. 000002A8  1F3C 0001                move.b     -[A7], 0x1
  276. 000002AC  4227                     clr.b      -[A7]
  277. 000002AE  226E 0008                movea.l    A1, [A6 + 0x8]
  278. 000002B2  2F29 023C                move.l     -[A7], [A1 + 0x23C]
  279. 000002B6  4EAD 0C22                jsr        [A5 + 0xC22]
  280. 000002BA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  281. 000002BE  6708                     beq        +0xA /* 000002C8 */
  282. 000002C0  487A 0018                pea.l      [PC + 0x18 /* 000002DA */]
  283. 000002C4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  284. label000002C8:
  285. 000002C8  548F                     addq.l     A7, 2
  286. label000002CA:
  287. 000002CA  4CDF 0307                movem.l    A1,A0,D2,D1,D0, [A7]+
  288. 000002CE  4E5E                     unlink     A6
  289. 000002D0  2F57 0008                move.l     [A7 + 0x8], [A7]
  290. 000002D4  4FEF 0008                lea.l      A7, [A7 + 0x8]
  291. 000002D8  4E75                     rts
  292. 000002DA  9953                     sub.w      [A3], D4
  293. 000002DC  5441                     addq.w     D1, 2
  294. 000002DE  4E44                     trap       4
  295. 000002E0  4152                     chk.w      D0, [A2]
  296. 000002E2  4457                     neg.w      [A7]
  297. 000002E4  494E                     chk.w      D4, A6
  298. 000002E6  444F                     neg.w      A7
  299. 000002E8  5744                     subq.w     D4, 3
  300. 000002EA  4953                     chk.w      D4, [A3]
  301. 000002EC  504C                     addq.w     A4, 8
  302. 000002EE  4159                     chk.w      D0, [A1]+
  303. 000002F0  4348                     chk.w      D1, A0
  304. 000002F2  4152                     chk.w      D0, [A2]
  305. 000002F4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  306. export_292: // at 000002F6 (misaligned)
  307. 000002F8  0000 48E7                ori.b      D0, 0xE7
  308. 000002FC  E0C0                     asr   .w   D0
  309. 000002FE  206E 000C                movea.l    A0, [A6 + 0xC]
  310. 00000302  7000                     moveq.l    D0, 0x00
  311. 00000304  3018                     move.w     D0, [A0]+
  312. 00000306  6700 00A2                beq        +0xA4 /* 000003AA */
  313. 0000030A  226E 0008                movea.l    A1, [A6 + 0x8]
  314. 0000030E  7200                     moveq.l    D1, 0x00
  315. 00000310  1229 0248                move.b     D1, [A1 + 0x248]
  316. 00000314  D240                     add.w      D1, D0
  317. 00000316  0C41 0100                cmpi.w     D1, 0x100
  318. 0000031A  6B00 002A                bmi        +0x2C /* 00000346 */
  319. 0000031E  2F09                     move.l     -[A7], A1
  320. 00000320  4EBA FEC8                jsr        [PC - 0x138 /* 000001EA */]
  321. 00000324  1F3C 0001                move.b     -[A7], 0x1
  322. 00000328  4227                     clr.b      -[A7]
  323. 0000032A  226E 0008                movea.l    A1, [A6 + 0x8]
  324. 0000032E  2F29 023C                move.l     -[A7], [A1 + 0x23C]
  325. 00000332  4EAD 0C22                jsr        [A5 + 0xC22]
  326. 00000336  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  327. 0000033A  6708                     beq        +0xA /* 00000344 */
  328. 0000033C  487A 0086                pea.l      [PC + 0x86 /* 000003C4 */]
  329. 00000340  4EAD 0CD2                jsr        [A5 + 0xCD2]
  330. label00000344:
  331. 00000344  548F                     addq.l     A7, 2
  332. label00000346:
  333. 00000346  206E 000C                movea.l    A0, [A6 + 0xC]
  334. 0000034A  7000                     moveq.l    D0, 0x00
  335. 0000034C  3018                     move.w     D0, [A0]+
  336. 0000034E  226E 0008                movea.l    A1, [A6 + 0x8]
  337. 00000352  7200                     moveq.l    D1, 0x00
  338. 00000354  1229 0248                move.b     D1, [A1 + 0x248]
  339. 00000358  3401                     move.w     D2, D1
  340. 0000035A  D200                     add.b      D1, D0
  341. 0000035C  1341 0248                move.b     [A1 + 0x248], D1
  342. 00000360  43E9 0248                lea.l      A1, [A1 + 0x248]
  343. 00000364  43F1 2001                lea.l      A1, [A1 + D2.w + 0x1]
  344. 00000368  5340                     subq.w     D0, 1
  345. 0000036A  720D                     moveq.l    D1, 0x0D
  346. 0000036C  4203                     clr.b      D3
  347. label0000036E:
  348. 0000036E  1418                     move.b     D2, [A0]+
  349. 00000370  12C2                     move.b     [A1]+, D2
  350. 00000372  B401                     cmp.b      D2, D1
  351. 00000374  57C3                     seq        D3
  352. 00000376  51C8 FFF6                dbf        D0, -0xC /* 0000036E */
  353. 0000037A  4A03                     tst.b      D3
  354. 0000037C  672C                     beq        +0x2E /* 000003AA */
  355. 0000037E  226E 0008                movea.l    A1, [A6 + 0x8]
  356. 00000382  2F09                     move.l     -[A7], A1
  357. 00000384  4EBA FE64                jsr        [PC - 0x19C /* 000001EA */]
  358. 00000388  1F3C 0001                move.b     -[A7], 0x1
  359. 0000038C  4227                     clr.b      -[A7]
  360. 0000038E  226E 0008                movea.l    A1, [A6 + 0x8]
  361. 00000392  2F29 023C                move.l     -[A7], [A1 + 0x23C]
  362. 00000396  4EAD 0C22                jsr        [A5 + 0xC22]
  363. 0000039A  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  364. 0000039E  6708                     beq        +0xA /* 000003A8 */
  365. 000003A0  487A 0022                pea.l      [PC + 0x22 /* 000003C4 */]
  366. 000003A4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  367. label000003A8:
  368. 000003A8  548F                     addq.l     A7, 2
  369. label000003AA:
  370. 000003AA  226E 0008                movea.l    A1, [A6 + 0x8]
  371. 000003AE  08E9 0000 0390           bset.b     [A1 + 0x390], 0x0
  372. 000003B4  4CDF 0307                movem.l    A1,A0,D2,D1,D0, [A7]+
  373. 000003B8  4E5E                     unlink     A6
  374. 000003BA  2F57 0008                move.l     [A7 + 0x8], [A7]
  375. 000003BE  4FEF 0008                lea.l      A7, [A7 + 0x8]
  376. 000003C2  4E75                     rts
  377. 000003C4  9953                     sub.w      [A3], D4
  378. 000003C6  5441                     addq.w     D1, 2
  379. 000003C8  4E44                     trap       4
  380. 000003CA  4152                     chk.w      D0, [A2]
  381. 000003CC  4457                     neg.w      [A7]
  382. 000003CE  494E                     chk.w      D4, A6
  383. 000003D0  444F                     neg.w      A7
  384. 000003D2  5744                     subq.w     D4, 3
  385. 000003D4  4953                     chk.w      D4, [A3]
  386. 000003D6  504C                     addq.w     A4, 8
  387. 000003D8  4159                     chk.w      D0, [A1]+
  388. 000003DA  5445                     addq.w     D5, 2
  389. 000003DC  5854                     addq.w     [A4], 4
  390. 000003DE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  391. export_293: // at 000003E0 (misaligned)
  392. 000003E2  FFFE                     .extension 0xFFE // unimplemented
  393. 000003E4  48E7 7000                movem.l    -[A7], D1,D2,D3
  394. 000003E8  206E 000A                movea.l    A0, [A6 + 0xA]
  395. 000003EC  203C FFFF 8000           move.l     D0, 0xFFFF8000
  396. 000003F2  426E FFFE                clr.w      [A6 - 0x2]
  397. 000003F6  7200                     moveq.l    D1, 0x00
  398. 000003F8  1418                     move.b     D2, [A0]+
  399. 000003FA  6770                     beq        +0x72 /* 0000046C */
  400. 000003FC  1218                     move.b     D1, [A0]+
  401. 000003FE  0C01 002B                cmpi.b     D1, 0x2B /* '+' */
  402. 00000402  670C                     beq        +0xE /* 00000410 */
  403. 00000404  0C01 002D                cmpi.b     D1, 0x2D /* '-' */
  404. 00000408  660C                     bne        +0xE /* 00000416 */
  405. 0000040A  3D7C FFFF FFFE           move.w     [A6 - 0x2], 0xFFFF
  406. label00000410:
  407. 00000410  5302                     subq.b     D2, 1
  408. 00000412  6612                     bne        +0x14 /* 00000426 */
  409. 00000414  6056                     bra        +0x58 /* 0000046C */
  410. label00000416:
  411. 00000416  2001                     move.l     D0, D1
  412. 00000418  0200 000F                andi.b     D0, 0xF
  413. 0000041C  B06E 0008                cmp.w      D0, [A6 + 0x8]
  414. 00000420  6A36                     bpl        +0x38 /* 00000458 */
  415. 00000422  5302                     subq.b     D2, 1
  416. 00000424  6726                     beq        +0x28 /* 0000044C */
  417. label00000426:
  418. 00000426  1218                     move.b     D1, [A0]+
  419. 00000428  382E 0008                move.w     D4, [A6 + 0x8]
  420. 0000042C  5544                     subq.w     D4, 2
  421. 0000042E  6B28                     bmi        +0x2A /* 00000458 */
  422. 00000430  2600                     move.l     D3, D0
  423. label00000432:
  424. 00000432  D680                     add.l      D3, D0
  425. 00000434  55CC FFFC                dbcs       D4, -0x6 /* 00000432 */
  426. 00000438  651E                     bcs        +0x20 /* 00000458 */
  427. 0000043A  2003                     move.l     D0, D3
  428. 0000043C  0201 000F                andi.b     D1, 0xF
  429. 00000440  B26E 0008                cmp.w      D1, [A6 + 0x8]
  430. 00000444  6A12                     bpl        +0x14 /* 00000458 */
  431. 00000446  D081                     add.l      D0, D1
  432. 00000448  5302                     subq.b     D2, 1
  433. 0000044A  66DA                     bne        -0x24 /* 00000426 */
  434. label0000044C:
  435. 0000044C  4A6E FFFE                tst.w      [A6 - 0x2]
  436. 00000450  660E                     bne        +0x10 /* 00000460 */
  437. 00000452  2D40 000E                move.l     [A6 + 0xE], D0
  438. 00000456  6A12                     bpl        +0x14 /* 0000046A */
  439. label00000458:
  440. 00000458  203C FFFF 8002           move.l     D0, 0xFFFF8002
  441. 0000045E  600C                     bra        +0xE /* 0000046C */
  442. label00000460:
  443. 00000460  4480                     neg.l      D0
  444. 00000462  2D40 000E                move.l     [A6 + 0xE], D0
  445. 00000466  6702                     beq        +0x4 /* 0000046A */
  446. 00000468  6AEE                     bpl        -0x10 /* 00000458 */
  447. label0000046A:
  448. 0000046A  7000                     moveq.l    D0, 0x00
  449. label0000046C:
  450. 0000046C  4CDF 000E                movem.l    D3,D2,D1, [A7]+
  451. 00000470  4E5E                     unlink     A6
  452. 00000472  2F57 0006                move.l     [A7 + 0x6], [A7]
  453. 00000476  4FEF 0006                lea.l      A7, [A7 + 0x6]
  454. 0000047A  4A80                     tst.l      D0
  455. 0000047C  4E75                     rts
  456. 0000047E  8D4D 5953                pack       -[A6], -[A5], 0x5953
  457. 00000482  5452                     addq.w     [A2], 2
  458. 00000484  494E                     chk.w      D4, A6
  459. 00000486  4754                     chk.w      D3, [A4]
  460. 00000488  4F4E                     chk.w      D7, A6
  461. 0000048A  554D                     subq.w     A5, 2
  462. 0000048C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  463. export_294: // at 0000048E (misaligned)
  464. 00000490  FFF8                     .extension 0xFF8 // unimplemented
  465. 00000492  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  466. 00000496  2F2D E85C                move.l     -[A7], [A5 - 0x17A4]
  467. 0000049A  206E 000E                movea.l    A0, [A6 + 0xE]
  468. 0000049E  2268 023C                movea.l    A1, [A0 + 0x23C]
  469. 000004A2  2251                     movea.l    A1, [A1]
  470. 000004A4  2D69 0008 FFF8           move.l     [A6 - 0x8], [A1 + 0x8]
  471. 000004AA  2D69 000C FFFC           move.l     [A6 - 0x4], [A1 + 0xC]
  472. 000004B0  426E FFFA                clr.w      [A6 - 0x6]
  473. 000004B4  486E FFF8                pea.l      [A6 - 0x8]
  474. 000004B8  A8AD                     trap       PtInRect
  475. 000004BA  301F                     move.w     D0, [A7]+
  476. 000004BC  0800 0008                btst.b     D0, 0x8
  477. 000004C0  676A                     beq        +0x6C /* 0000052C */
  478. 000004C2  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  479. 000004C6  3F2D E92C                move.w     -[A7], [A5 - 0x16D4]
  480. 000004CA  1F3C 0001                move.b     -[A7], 0x1
  481. 000004CE  206E 000E                movea.l    A0, [A6 + 0xE]
  482. 000004D2  08E8 0000 03A2           bset.b     [A0 + 0x3A2], 0x0
  483. 000004D8  661A                     bne        +0x1C /* 000004F4 */
  484. 000004DA  0828 0000 03A3           btst.b     [A0 + 0x3A3], 0x0
  485. 000004E0  6712                     beq        +0x14 /* 000004F4 */
  486. 000004E2  2268 023C                movea.l    A1, [A0 + 0x23C]
  487. 000004E6  2251                     movea.l    A1, [A1]
  488. 000004E8  3029 0020                move.w     D0, [A1 + 0x20]
  489. 000004EC  9068 039A                sub.w      D0, [A0 + 0x39A]
  490. 000004F0  3140 03A0                move.w     [A0 + 0x3A0], D0
  491. label000004F4:
  492. 000004F4  2F28 023C                move.l     -[A7], [A0 + 0x23C]
  493. 000004F8  A813                     trap       TEAutoView
  494. 000004FA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  495. 000004FE  6708                     beq        +0xA /* 00000508 */
  496. 00000500  487A 003E                pea.l      [PC + 0x3E /* 00000540 */]
  497. 00000504  4EAD 0CD2                jsr        [A5 + 0xCD2]
  498. label00000508:
  499. 00000508  548F                     addq.l     A7, 2
  500. 0000050A  206E 000E                movea.l    A0, [A6 + 0xE]
  501. 0000050E  2F28 023C                move.l     -[A7], [A0 + 0x23C]
  502. 00000512  A9D4                     trap       TEClick
  503. 00000514  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  504. 00000518  6708                     beq        +0xA /* 00000522 */
  505. 0000051A  487A 0024                pea.l      [PC + 0x24 /* 00000540 */]
  506. 0000051E  4EAD 0CD2                jsr        [A5 + 0xCD2]
  507. label00000522:
  508. 00000522  548F                     addq.l     A7, 2
  509. 00000524  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  510. 00000528  4EAD 09AA                jsr        [A5 + 0x9AA]
  511. label0000052C:
  512. 0000052C  2D7C 0000 0006 0012      move.l     [A6 + 0x12], 0x6
  513. 00000534  4E5E                     unlink     A6
  514. 00000536  2F57 000A                move.l     [A7 + 0xA], [A7]
  515. 0000053A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  516. 0000053E  4E75                     rts
  517. 00000540  8854                     or.w       D4, [A4]
  518. 00000542  4845                     swap.w     D5
  519. 00000544  434C                     chk.w      D1, A4
  520. 00000546  4943                     chk.w      D4, D3
  521. 00000548  4B20                     .invalid   5, -[A0] // invalid opcode 4 with b == 4
  522. 0000054A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  523. export_295: // at 0000054C (misaligned)
  524. 0000054E  0000 48E7                ori.b      D0, 0xE7
  525. 00000552  8080                     or.l       D0, D0
  526. 00000554  0240 00FF                andi.w     D0, 0xFF
  527. 00000558  D040                     add.w      D0, D0
  528. 0000055A  206D E95A                movea.l    A0, [A5 - 0x16A6]
  529. 0000055E  3D70 0000 0008           move.w     [A6 + 0x8], [A0 + D0.w]
  530. 00000564  4CDF 0101                movem.l    A0,D0, [A7]+
  531. 00000568  4E5E                     unlink     A6
  532. 0000056A  4E75                     rts
  533. 0000056C  9143                     subx.w     D0, D3
  534. 0000056E  4C41 5353                movem.l    A6,A4,A1,A0,D6,D4,D1,D0, D1
  535. 00000572  4946                     chk.w      D4, D6
  536. 00000574  5943                     subq.w     D3, 4
  537. 00000576  4841                     swap.w     D1
  538. 00000578  5241                     addq.w     D1, 1
  539. 0000057A  4354                     chk.w      D1, [A4]
  540. 0000057C  4552                     chk.w      D2, [A2]
  541. 0000057E  0000 48E7                ori.b      D0, 0xE7
  542. export_296: // at 00000580 (misaligned)
  543. 00000582  8080                     or.l       D0, D0
  544. 00000584  0240 00FF                andi.w     D0, 0xFF
  545. 00000588  D040                     add.w      D0, D0
  546. 0000058A  206D E95A                movea.l    A0, [A5 - 0x16A6]
  547. 0000058E  0C30 0001 0000           cmpi.b     [A0 + D0.w], 0x1
  548. 00000594  6704                     beq        +0x6 /* 0000059A */
  549. 00000596  003C 0001                ori.b      ccr, 1
  550. label0000059A:
  551. 0000059A  4CDF 0101                movem.l    A0,D0, [A7]+
  552. 0000059E  4E75                     rts
  553. 000005A0  8C41                     or.w       D6, D1
  554. 000005A2  4C50 4841                movem.l    A6,A3,D6,D0, [A0]
  555. 000005A6  4E55 4D45                link       A5, -0xFFFFB2BB
  556. 000005AA  5249                     addq.w     A1, 1
  557. 000005AC  4320                     .invalid   1, -[A0] // invalid opcode 4 with b == 4
  558. 000005AE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  559. export_297: // at 000005B0 (misaligned)
  560. 000005B2  FFF4                     .extension 0xFF4 // unimplemented
  561. 000005B4  48E7 E0E0                movem.l    -[A7], D0,D1,D2,A0,A1,A2
  562. 000005B8  246E 000A                movea.l    A2, [A6 + 0xA]
  563. 000005BC  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  564. 000005C0  2F0A                     move.l     -[A7], A2
  565. 000005C2  2F2D E85C                move.l     -[A7], [A5 - 0x17A4]
  566. 000005C6  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  567. 000005CA  A83B                     trap       TrackBox
  568. 000005CC  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  569. 000005D0  6708                     beq        +0xA /* 000005DA */
  570. 000005D2  487A 0062                pea.l      [PC + 0x62 /* 00000636 */]
  571. 000005D6  4EAD 0CD2                jsr        [A5 + 0xCD2]
  572. label000005DA:
  573. 000005DA  548F                     addq.l     A7, 2
  574. 000005DC  301F                     move.w     D0, [A7]+
  575. 000005DE  6700 0046                beq        +0x48 /* 00000626 */
  576. 000005E2  486E FFF4                pea.l      [A6 - 0xC]
  577. 000005E6  A874                     trap       GetPort
  578. 000005E8  2F0A                     move.l     -[A7], A2
  579. 000005EA  A873                     trap       SetPort
  580. 000005EC  2F0A                     move.l     -[A7], A2
  581. 000005EE  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  582. 000005F2  4EAD 0AC2                jsr        [A5 + 0xAC2]
  583. 000005F6  2F0A                     move.l     -[A7], A2
  584. 000005F8  4EAD 09C2                jsr        [A5 + 0x9C2]
  585. 000005FC  2F0A                     move.l     -[A7], A2
  586. 000005FE  4EAD 09B2                jsr        [A5 + 0x9B2]
  587. 00000602  2F0A                     move.l     -[A7], A2
  588. 00000604  4EAD 09AA                jsr        [A5 + 0x9AA]
  589. 00000608  206A 023C                movea.l    A0, [A2 + 0x23C]
  590. 0000060C  2050                     movea.l    A0, [A0]
  591. 0000060E  2D68 0008 FFF8           move.l     [A6 - 0x8], [A0 + 0x8]
  592. 00000614  2D68 000C FFFC           move.l     [A6 - 0x4], [A0 + 0xC]
  593. 0000061A  486E FFF8                pea.l      [A6 - 0x8]
  594. 0000061E  A928                     trap       InvalRect
  595. 00000620  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  596. 00000624  A873                     trap       SetPort
  597. label00000626:
  598. 00000626  4CDF 0707                movem.l    A2,A1,A0,D2,D1,D0, [A7]+
  599. 0000062A  4E5E                     unlink     A6
  600. 0000062C  2F57 0006                move.l     [A7 + 0x6], [A7]
  601. 00000630  4FEF 0006                lea.l      A7, [A7 + 0x6]
  602. 00000634  4E75                     rts
  603. 00000636  895A                     or.w       [A2]+, D4
  604. 00000638  4F4F                     chk.w      D7, A7
  605. 0000063A  4D53                     chk.w      D6, [A3]
  606. 0000063C  5455                     addq.w     [A5], 2
  607. 0000063E  4646                     not.w      D6
  608. 00000640  0000 48E7                ori.b      D0, 0xE7
  609. export_298: // at 00000642 (misaligned)
  610. 00000644  7080                     moveq.l    D0, 0xFFFFFF80
  611. 00000646  7000                     moveq.l    D0, 0x00
  612. 00000648  7200                     moveq.l    D1, 0x00
  613. 0000064A  7400                     moveq.l    D2, 0x00
  614. 0000064C  7600                     moveq.l    D3, 0x00
  615. 0000064E  1418                     move.b     D2, [A0]+
  616. 00000650  5282                     addq.l     D2, 1
  617. label00000652:
  618. 00000652  5382                     subq.l     D2, 1
  619. 00000654  674C                     beq        +0x4E /* 000006A2 */
  620. 00000656  1618                     move.b     D3, [A0]+
  621. 00000658  0C03 0021                cmpi.b     D3, 0x21 /* '!' */
  622. 0000065C  65F4                     bcs        -0xA /* 00000652 */
  623. 0000065E  0C03 002B                cmpi.b     D3, 0x2B /* '+' */
  624. 00000662  671C                     beq        +0x1E /* 00000680 */
  625. 00000664  0C03 002D                cmpi.b     D3, 0x2D /* '-' */
  626. 00000668  6714                     beq        +0x16 /* 0000067E */
  627. 0000066A  0C03 0030                cmpi.b     D3, 0x30 /* '0' */
  628. 0000066E  6532                     bcs        +0x34 /* 000006A2 */
  629. 00000670  0C03 003A                cmpi.b     D3, 0x3A /* ':' */
  630. 00000674  642C                     bcc        +0x2E /* 000006A2 */
  631. 00000676  1003                     move.b     D0, D3
  632. 00000678  0200 000F                andi.b     D0, 0xF
  633. 0000067C  6002                     bra        +0x4 /* 00000680 */
  634. label0000067E:
  635. 0000067E  72FF                     moveq.l    D1, 0xFFFFFFFF
  636. label00000680:
  637. 00000680  5382                     subq.l     D2, 1
  638. 00000682  671E                     beq        +0x20 /* 000006A2 */
  639. 00000684  1618                     move.b     D3, [A0]+
  640. 00000686  0C03 0030                cmpi.b     D3, 0x30 /* '0' */
  641. 0000068A  6516                     bcs        +0x18 /* 000006A2 */
  642. 0000068C  0C03 003A                cmpi.b     D3, 0x3A /* ':' */
  643. 00000690  6410                     bcc        +0x12 /* 000006A2 */
  644. 00000692  0203 000F                andi.b     D3, 0xF
  645. 00000696  E388                     lsl        D0, 1
  646. 00000698  2800                     move.l     D4, D0
  647. 0000069A  E588                     lsl        D0, 2
  648. 0000069C  D084                     add.l      D0, D4
  649. 0000069E  D083                     add.l      D0, D3
  650. 000006A0  60DE                     bra        -0x20 /* 00000680 */
  651. label000006A2:
  652. 000006A2  4A81                     tst.l      D1
  653. 000006A4  6702                     beq        +0x4 /* 000006A8 */
  654. 000006A6  4480                     neg.l      D0
  655. label000006A8:
  656. 000006A8  4CDF 010E                movem.l    A0,D3,D2,D1, [A7]+
  657. 000006AC  4E75                     rts
  658. export_299:
  659. 000006AE  4E56 0000                link       A6, 0
  660. 000006B2  48E7 F0C0                movem.l    -[A7], D0,D1,D2,D3,A0,A1
  661. 000006B6  0C6D 0700 FDAC           cmpi.w     [A5 - 0x254], 0x700
  662. 000006BC  6400 005E                bcc        +0x60 /* 0000071C */
  663. 000006C0  206E 0008                movea.l    A0, [A6 + 0x8]
  664. 000006C4  2F08                     move.l     -[A7], A0
  665. 000006C6  2028 0008                move.l     D0, [A0 + 0x8]
  666. 000006CA  2228 000C                move.l     D1, [A0 + 0xC]
  667. 000006CE  2428 0010                move.l     D2, [A0 + 0x10]
  668. 000006D2  2628 0014                move.l     D3, [A0 + 0x14]
  669. 000006D6  9240                     sub.w      D1, D0
  670. 000006D8  9642                     sub.w      D3, D2
  671. 000006DA  9243                     sub.w      D1, D3
  672. 000006DC  E249                     lsr        D1.w, 1
  673. 000006DE  3F01                     move.w     -[A7], D1
  674. 000006E0  4840                     swap.w     D0
  675. 000006E2  4841                     swap.w     D1
  676. 000006E4  4842                     swap.w     D2
  677. 000006E6  4843                     swap.w     D3
  678. 000006E8  9240                     sub.w      D1, D0
  679. 000006EA  9278 0BAA                sub.w      D1, [0x00000BAA /* MBarHeight */]
  680. 000006EE  9278 0BAA                sub.w      D1, [0x00000BAA /* MBarHeight */]
  681. 000006F2  9642                     sub.w      D3, D2
  682. 000006F4  9243                     sub.w      D1, D3
  683. 000006F6  E449                     lsr        D1.w, 2
  684. 000006F8  3001                     move.w     D0, D1
  685. 000006FA  E248                     lsr        D0.w, 1
  686. 000006FC  D240                     add.w      D1, D0
  687. 000006FE  D278 0BAA                add.w      D1, [0x00000BAA /* MBarHeight */]
  688. 00000702  D278 0BAA                add.w      D1, [0x00000BAA /* MBarHeight */]
  689. 00000706  3F01                     move.w     -[A7], D1
  690. 00000708  4267                     clr.w      -[A7]
  691. 0000070A  A91B                     trap       MoveWindow
  692. 0000070C  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  693. 00000710  6708                     beq        +0xA /* 0000071A */
  694. 00000712  487A 0018                pea.l      [PC + 0x18 /* 0000072C */]
  695. 00000716  4EAD 0CD2                jsr        [A5 + 0xCD2]
  696. label0000071A:
  697. 0000071A  548F                     addq.l     A7, 2
  698. label0000071C:
  699. 0000071C  4CDF 030F                movem.l    A1,A0,D3,D2,D1,D0, [A7]+
  700. 00000720  4E5E                     unlink     A6
  701. 00000722  2F57 0004                move.l     [A7 + 0x4], [A7]
  702. 00000726  4FEF 0004                lea.l      A7, [A7 + 0x4]
  703. 0000072A  4E75                     rts
  704. 0000072C  8C43                     or.w       D6, D3
  705. 0000072E  454E                     chk.w      D2, A6
  706. 00000730  5452                     addq.w     [A2], 2
  707. 00000732  4557                     chk.w      D2, [A7]
  708. 00000734  494E                     chk.w      D4, A6
  709. 00000736  444F                     neg.w      A7
  710. 00000738  5720                     subq.b     -[A0], 3
  711. 0000073A  0000 082D                ori.b      D0, 0x2D /* '-' */
  712. export_300: // at 0000073C (misaligned)
  713. 0000073E  0000 E6CC                ori.b      D0, 0xCC
  714. 00000742  6700 0060                beq        +0x62 /* 000007A4 */
  715. 00000746  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  716. 0000074A  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  717. 0000074E  A924                     trap       FrontWindow
  718. 00000750  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  719. 00000754  6708                     beq        +0xA /* 0000075E */
  720. 00000756  487A 004E                pea.l      [PC + 0x4E /* 000007A6 */]
  721. 0000075A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  722. label0000075E:
  723. 0000075E  548F                     addq.l     A7, 2
  724. 00000760  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  725. 00000764  3F3C 0001                move.w     -[A7], 0x1
  726. 00000768  4EAD 0A6A                jsr        [A5 + 0xA6A]
  727. 0000076C  221F                     move.l     D1, [A7]+
  728. 0000076E  B29F                     cmp.l      D1, [A7]+
  729. 00000770  6600 002E                bne        +0x30 /* 000007A0 */
  730. 00000774  4A81                     tst.l      D1
  731. 00000776  6700 0028                beq        +0x2A /* 000007A0 */
  732. 0000077A  2F3C 0000 000C           move.l     -[A7], 0xC
  733. 00000780  42A7                     clr.l      -[A7]
  734. 00000782  42A7                     clr.l      -[A7]
  735. 00000784  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  736. 00000788  4EAD 09FA                jsr        [A5 + 0x9FA]
  737. 0000078C  201F                     move.l     D0, [A7]+
  738. 0000078E  670C                     beq        +0xE /* 0000079C */
  739. 00000790  486D E96A                pea.l      [A5 - 0x1696]
  740. 00000794  4EAD 0ABA                jsr        [A5 + 0xABA]
  741. 00000798  426D E96E                clr.w      [A5 - 0x1692]
  742. label0000079C:
  743. 0000079C  4EAD 04F2                jsr        [A5 + 0x4F2]
  744. label000007A0:
  745. 000007A0  4CDF 0307                movem.l    A1,A0,D2,D1,D0, [A7]+
  746. label000007A4:
  747. 000007A4  4E75                     rts
  748. 000007A6  8C55                     or.w       D6, [A5]
  749. 000007A8  5044                     addq.w     D4, 8
  750. 000007AA  4154                     chk.w      D0, [A4]
  751. 000007AC  4543                     chk.w      D2, D3
  752. 000007AE  5552                     subq.w     [A2], 2
  753. 000007B0  534F                     subq.w     A7, 1
  754. 000007B2  5220                     addq.b     -[A0], 1
  755. 000007B4  0000 3F3C                ori.b      D0, 0x3C /* '<' */
  756. export_301: // at 000007B6 (misaligned)
  757. 000007B8  0080 4EBA 0018           ori.l      D0, 0x4EBA0018
  758. 000007BE  4E75                     rts
  759. 000007C0  9053                     sub.w      D0, [A3]
  760. 000007C2  4554                     chk.w      D2, [A4]
  761. 000007C4  4355                     chk.w      D1, [A5]
  762. 000007C6  5253                     addq.w     [A3], 1
  763. 000007C8  4F52                     chk.w      D7, [A2]
  764. 000007CA  544F                     addq.w     A7, 2
  765. 000007CC  4152                     chk.w      D0, [A2]
  766. 000007CE  524F                     addq.w     A7, 1
  767. 000007D0  5720                     subq.b     -[A0], 3
  768. 000007D2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  769. export_302: // at 000007D4 (misaligned)
  770. 000007D6  0000 48E7                ori.b      D0, 0xE7
  771. 000007DA  E0C0                     asr   .w   D0
  772. 000007DC  082D 0000 FDC3           btst.b     [A5 - 0x23D], 0x0
  773. 000007E2  6700 005E                beq        +0x60 /* 00000842 */
  774. 000007E6  41ED E9B2                lea.l      A0, [A5 - 0x164E]
  775. 000007EA  302D E9B0                move.w     D0, [A5 - 0x1650]
  776. 000007EE  6716                     beq        +0x18 /* 00000806 */
  777. 000007F0  5340                     subq.w     D0, 1
  778. 000007F2  322E 0008                move.w     D1, [A6 + 0x8]
  779. label000007F6:
  780. 000007F6  B250                     cmp.w      D1, [A0]
  781. 000007F8  41E8 0006                lea.l      A0, [A0 + 0x6]
  782. 000007FC  57C8 FFF8                dbeq       D0, -0xA /* 000007F6 */
  783. 00000800  41E8 FFFA                lea.l      A0, [A0 - 0x6]
  784. 00000804  671E                     beq        +0x20 /* 00000824 */
  785. label00000806:
  786. 00000806  2F08                     move.l     -[A7], A0
  787. 00000808  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  788. 0000080C  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  789. 00000810  AA1B                     trap       GetCCursor
  790. 00000812  201F                     move.l     D0, [A7]+
  791. 00000814  205F                     movea.l    A0, [A7]+
  792. 00000816  30EE 0008                move.w     [A0]+, [A6 + 0x8]
  793. 0000081A  20C0                     move.l     [A0]+, D0
  794. 0000081C  526D E9B0                addq.w     [A5 - 0x1650], 1
  795. 00000820  41E8 FFFA                lea.l      A0, [A0 - 0x6]
  796. label00000824:
  797. 00000824  2028 0002                move.l     D0, [A0 + 0x2]
  798. 00000828  6718                     beq        +0x1A /* 00000842 */
  799. 0000082A  2F00                     move.l     -[A7], D0
  800. 0000082C  AA1C                     trap       SetCCursor
  801. 0000082E  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  802. 00000832  6708                     beq        +0xA /* 0000083C */
  803. 00000834  487A 0092                pea.l      [PC + 0x92 /* 000008C8 */]
  804. 00000838  4EAD 0CD2                jsr        [A5 + 0xCD2]
  805. label0000083C:
  806. 0000083C  548F                     addq.l     A7, 2
  807. 0000083E  6000 0078                bra        +0x7A /* 000008B8 */
  808. label00000842:
  809. 00000842  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  810. 00000846  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  811. 0000084A  A9B9                     trap       GetCursor
  812. 0000084C  201F                     move.l     D0, [A7]+
  813. 0000084E  6612                     bne        +0x14 /* 00000862 */
  814. 00000850  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  815. 00000854  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  816. 00000858  0457 0080                subi.w     [A7], 0x80
  817. 0000085C  A9B9                     trap       GetCursor
  818. 0000085E  201F                     move.l     D0, [A7]+
  819. 00000860  6740                     beq        +0x42 /* 000008A2 */
  820. label00000862:
  821. 00000862  2040                     movea.l    A0, D0
  822. 00000864  A029                     trap       HLock
  823. 00000866  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  824. 0000086A  6708                     beq        +0xA /* 00000874 */
  825. 0000086C  487A 005A                pea.l      [PC + 0x5A /* 000008C8 */]
  826. 00000870  4EAD 0CD2                jsr        [A5 + 0xCD2]
  827. label00000874:
  828. 00000874  548F                     addq.l     A7, 2
  829. 00000876  2F08                     move.l     -[A7], A0
  830. 00000878  2F10                     move.l     -[A7], [A0]
  831. 0000087A  A851                     trap       SetCursor
  832. 0000087C  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  833. 00000880  6708                     beq        +0xA /* 0000088A */
  834. 00000882  487A 0044                pea.l      [PC + 0x44 /* 000008C8 */]
  835. 00000886  4EAD 0CD2                jsr        [A5 + 0xCD2]
  836. label0000088A:
  837. 0000088A  548F                     addq.l     A7, 2
  838. 0000088C  205F                     movea.l    A0, [A7]+
  839. 0000088E  A02A                     trap       HUnlock
  840. 00000890  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  841. 00000894  6708                     beq        +0xA /* 0000089E */
  842. 00000896  487A 0030                pea.l      [PC + 0x30 /* 000008C8 */]
  843. 0000089A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  844. label0000089E:
  845. 0000089E  548F                     addq.l     A7, 2
  846. 000008A0  6016                     bra        +0x18 /* 000008B8 */
  847. label000008A2:
  848. 000008A2  486D FF90                pea.l      [A5 - 0x70]
  849. 000008A6  A851                     trap       SetCursor
  850. 000008A8  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  851. 000008AC  6708                     beq        +0xA /* 000008B6 */
  852. 000008AE  487A 0018                pea.l      [PC + 0x18 /* 000008C8 */]
  853. 000008B2  4EAD 0CD2                jsr        [A5 + 0xCD2]
  854. label000008B6:
  855. 000008B6  548F                     addq.l     A7, 2
  856. label000008B8:
  857. 000008B8  4CDF 0307                movem.l    A1,A0,D2,D1,D0, [A7]+
  858. 000008BC  4E5E                     unlink     A6
  859. 000008BE  2F57 0002                move.l     [A7 + 0x2], [A7]
  860. 000008C2  4FEF 0002                lea.l      A7, [A7 + 0x2]
  861. 000008C6  4E75                     rts
  862. 000008C8  8B4D 5953                pack       -[A5], -[A5], 0x5953
  863. 000008CC  4554                     chk.w      D2, [A4]
  864. 000008CE  4355                     chk.w      D1, [A5]
  865. 000008D0  5253                     addq.w     [A3], 1
  866. 000008D2  4F52                     chk.w      D7, [A2]
  867. 000008D4  0000                     .incomplete
  868.